package com.kata.chapter13;

/**
 * Created by Solidsnake on 2014/12/9.
 */
public class Main {

    public static void main(String[] args) {
        InvokeManager invokeManager = new InvokeManager();
        System.out.println("客户想要一套完整的房屋!!");
        System.out.println("=================================");
        invokeManager.setCommand(new BuildFullHouseCommand());
        invokeManager.execute();
        System.out.println("\r\n");

        System.out.println("客户只想要一个毛坯房!!");
        System.out.println("=================================");
        invokeManager.setCommand(new BuildHouseFrameworkCommand());
        invokeManager.execute();
    }
}
